package com.xxxx.dao;

import com.xxxx.entity.Course;

import java.util.ArrayList;

public interface CourseDao {
    //增加
    int save(Course course) throws Exception;
    //删除
    int del(int cno) throws Exception;
    //修改
    int update(Course course) throws Exception;
    //查询
    ArrayList<Course> getAll() throws Exception;
}
